/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.weixin.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 微信Entity
 * @author hui.li
 * @version 2017-04-23
 */
public class OssWeixin extends DataEntity<OssWeixin> {
	
	private static final long serialVersionUID = 1L;
	private String warehouse;		// 仓库
	private String names;		// 企业微信发送人，多个用|分开
	
	public OssWeixin() {
		super();
	}

	public OssWeixin(String id){
		super(id);
	}

	@Length(min=0, max=64, message="仓库长度必须介于 0 和 64 之间")
	public String getWarehouse() {
		return warehouse;
	}

	public void setWarehouse(String warehouse) {
		this.warehouse = warehouse;
	}
	
	@Length(min=0, max=255, message="企业微信发送人，多个用|分开长度必须介于 0 和 255 之间")
	public String getNames() {
		return names;
	}

	public void setNames(String names) {
		this.names = names;
	}
	
}